package com.sxt.business.service;

import com.sxt.business.domain.Customer;
import com.sxt.business.vo.CustomerVO;
import com.sxt.system.utils.DataGridView;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 俊哥
 * @since 2019-11-15
 */
public interface ICustomerService extends IService<Customer> {

	/**
	 * 	分页	全查询
	 * @param customerVO
	 * @return
	 */
	DataGridView loadAllCustomer(CustomerVO customerVO);

	/**
	 * 	添加
	 * @param customer
	 * @return
	 */
	Customer addCustomer(Customer customer);

	/**
	 * 	修改
	 * @param customer
	 * @return
	 */
	Customer updateCustomer(Customer customer);

	DataGridView loadAllAvailableCustomer();

}
